package com.oil.business.domain;

import java.util.Date;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.oil.common.annotation.Excel;
import com.oil.common.core.domain.BaseEntity;

/**
 * 活动对象 t_activity_info
 * 
 * @author ruoyi
 * @date 2023-01-05
 */
@Data
public class TActivityInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String actName;

    /** 活动说明 */
    @Excel(name = "活动说明")
    private String actDesc;

    /** 审批状态(0:新增待审批 1:审批通过 2:审批拒绝) */
    @Excel(name = "审批状态(0:新增待审批 1:审批通过 2:审批拒绝)")
    private Integer appSt;

    /** 删除标志(0:未删除，1已删除) */
    private Integer delFlag;
    /** 上架状态 0未上架 1已上架 */
    private Integer publishSt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date crtTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String crtBy;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updBy;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actName", getActName())
            .append("actDesc", getActDesc())
            .append("appSt", getAppSt())
            .append("delFlag", getDelFlag())
            .append("crtTime", getCrtTime())
            .append("crtBy", getCrtBy())
            .append("updTime", getUpdTime())
            .append("updBy", getUpdBy())
            .toString();
    }
}
